#include "drve_led.h"
#include "drv_systick.h"
#include "drv_beep.h"
#include "drv_key.h"
#include "drv_exit.h"
#include "drv_usart.h"
#include "drv_time.h"

static uint8_t key_status1=0;
static uint8_t key_status2=0;
static uint8_t key_status3=0;
static uint8_t key_statusu=0;
int main (void)
{    
	drv_systick_init(168);
	NVIC_PriorityGroupConfig(NVIC_PriorityGroup_2);
	drve_led_int_u();
	drve_led_int1();
	drve_led_int2();
	drve_led_int3();
	drv_key_int_u();
	drv_key_int1();
	drv_key_int2();
	drv_key_int3();
	beep_init();
	drv__exit9_int();
	drv_usart6_init();
	drv_time7_init();
	drve_led_open_u();
   printf("HelloNIU\r\n");
	while(1)
	{   
//	  drve_led_open1();
//	  drv_systick_ms(1000);
//	  drve_led_close1();
//	  drv_systick_ms(1000);
//	  drve_led_open2();
//	  drv_systick_ms(1000);
//	  drve_led_close2();
//	  drv_systick_ms(1000);
//	  drve_led_open3();
//	  drv_systick_ms(1000);
//	  drve_led_close3();
//	  drv_systick_ms(1000);
	 		
	}
}



